package com.chuck.config;

import com.alibaba.druid.support.http.WebStatFilter;

import javax.servlet.annotation.WebFilter;
import javax.servlet.annotation.WebInitParam;

/*
* 配置druid的过滤规则，监控所有的页面，并且排除以下exclusions中配置的文件路径
* */
@WebFilter(filterName = "druidWebStartFilter", urlPatterns ="/*",initParams = {
        @WebInitParam(name = "exclusions",value = "*.js,*.gif,*.jpg,*.png,*.css,*.bmp,*.ico,/druid/*")//设置忽略的资源路径
})
public class DruidStartFilter extends WebStatFilter {
}
